#include<stdio.h>

void f(int *a,int n)
{
    //int len=sizeof(a)/sizeof(a[0]);//error

    printf("In func f:sizeof(a)=%d\n",sizeof(a));
    int b[10];
    printf("In func f:sizeof(b)=%d\n",sizeof(b));
}


int main()
{

    int a[10];
    printf("In func main:sizeof(a)=%d\n",sizeof(a));
    f(a,10);
    printf("%d %d\n",a,&a[0]);

}
